package cn.yzc.server;

import cn.yzc.pojo.Orders;

/**
 * <p>Project: redis - OrdersServer</p>
 * <p>Powered by yzc On 2023-12-14 09:22:38</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
public interface OrdersServer {

    //保存订单和订单明细
    int save(Orders orders);

   //支付成功将订单保存到数据库
    int pay(String oid);


    //根据订单编号查看订单明细
    Orders queryOid(String oid);
}
